package com.rbac.web.service;

import com.rbac.web.model.PageResult;
import com.rbac.web.model.PageV0;
import com.rbac.web.model.Permission;

import java.util.List;

/**
 * @author gengaoliu
 */
public interface IPermissionService {
  void insert(Permission permission);

  void updateByEntity(Permission permission);

  void deleteById(Integer id);

  List<Permission> findAll();

  PageResult<Permission> selectPage(PageV0 pageV0);

  List<Permission> findAllByIds(List<Integer> permissionIds);
}
